package com.miao.common.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * 商店表(Store)表实体类
 *
 * @author MiaoWenqing
 * @since 2021-02-02 10:14:33
 */
@SuppressWarnings("serial")
public class Store extends Model<Store> {
    //商店id
    @TableId(type = IdType.AUTO)
    private Integer storeId;
    //商店评分
    private Double storeRate;
    //商店描述
    private String storeDes;
    //商店名称
    private String storeName;
    //商店状态 1待审核 2审核未通过  3正常营业  4关停
    private Integer storeState;
    //商店创建日期
    private Date storeCreatTime;
    //商店负责人id
    private String dirId;
    //商店首页html
    private String storeIndex;
    //审核者id
    private Integer adminId;
    //营业许可证
    private String busLicense;
    //通知邮箱
    private String email;


    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Double getStoreRate() {
        return storeRate;
    }

    public void setStoreRate(Double storeRate) {
        this.storeRate = storeRate;
    }

    public String getStoreDes() {
        return storeDes;
    }

    public void setStoreDes(String storeDes) {
        this.storeDes = storeDes;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getStoreState() {
        return storeState;
    }

    public void setStoreState(Integer storeState) {
        this.storeState = storeState;
    }

    public Date getStoreCreatTime() {
        return storeCreatTime;
    }

    public void setStoreCreatTime(Date storeCreatTime) {
        this.storeCreatTime = storeCreatTime;
    }

    public String getDirId() {
        return dirId;
    }

    public void setDirId(String dirId) {
        this.dirId = dirId;
    }

    public String getStoreIndex() {
        return storeIndex;
    }

    public void setStoreIndex(String storeIndex) {
        this.storeIndex = storeIndex;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getBusLicense() {
        return busLicense;
    }

    public void setBusLicense(String busLicense) {
        this.busLicense = busLicense;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.storeId;
    }
}